class MyArray<T> {
    public T[] array=(T[]) new Object[10];
    public void setArray(int pos,T v) {
        this.array[pos]=v;
    }
    public T getPos(int pos) {
        return this.array[pos];
    }
}
public class test {
    public static void main(String[] args) {
        MyArray<Integer> myArray=new MyArray<Integer>();
        myArray.setArray(0,12);
        funf(myArray);
    }
    public static void funf(MyArray<?> temp) {
        System.out.println(temp.getPos(0));
    }
}
//gxacsgxfaghxfhacghaf